#!/bin/bash
#run the daemon, rewrites arguments

MP="`dirname \"$0\"`"  
MP+="/../bin/"
mkdir "$1"
java -Djava.security.manager -Djava.security.policy="${MP}../policy-file" -cp "$MP" daemon.LongcatDaemon $1 $2 $3 $4 

